package com.dg.util;

import org.junit.jupiter.api.Test;

import java.util.Random;

/**
 * 权限点的权限码code生成类
 */
public class AclCodeUtil {


    public static String generatorAclCode(){
        Random random = new Random();
        StringBuilder code= new StringBuilder();
        code.append(System.currentTimeMillis());
        code.append("_");
        code.append(random.nextInt(100));
        return code.toString();
    }

}
